//
//  Common.swift
//  Practice
//
//  Created by miaozhihui on 2016/12/12.
//  Copyright © 2016年 DeKuTree. All rights reserved.
//

// 目的：提供全局共享属性或者方法，类似于OC的pch文件
import UIKit

// MARK: - 应用程序信息
let appKey = "3154502889"
let appSecret = "a4b9a50a1643f0661714cf706f565303"
let redirectUrl = "https://www.baidu.com"

/// 全局外观渲染颜色
let WBAppearanceTintColor = UIColor.orange

// MARK: - 全局通知定义
/// 用户需要登录通知
let WBUserNeedLoginNotification = "WBUserNeedLoginNotification"
/// 用户登录成功通知
let WBUserLoginSuccessNotification = "WBUserLoginSuccessNotification"

// MARK: - 微博配图视图常量
// 微博配图视图外部间距
let StatusPictureViewOutterMargin: CGFloat = 12
// 微博配图视图内部间距
let StatusPictureViewInnerMargin: CGFloat = 3
// 微博配图视图宽度
let StatusPictureViewWidth: CGFloat = UIScreen.xs_screenWidth() - 2 * StatusPictureViewOutterMargin
// 每个Item的宽度
let StatusPictureItemWidth: CGFloat = (StatusPictureViewWidth - 2 * StatusPictureViewInnerMargin) / 3
